package com.crm.model.entity.opportunityManager;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OpportunityDynamicExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OpportunityDynamicExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOpportunityDynamicIdIsNull() {
            addCriterion("opportunity_dynamic_id is null");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdIsNotNull() {
            addCriterion("opportunity_dynamic_id is not null");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdEqualTo(String value) {
            addCriterion("opportunity_dynamic_id =", value, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdNotEqualTo(String value) {
            addCriterion("opportunity_dynamic_id <>", value, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdGreaterThan(String value) {
            addCriterion("opportunity_dynamic_id >", value, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdGreaterThanOrEqualTo(String value) {
            addCriterion("opportunity_dynamic_id >=", value, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdLessThan(String value) {
            addCriterion("opportunity_dynamic_id <", value, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdLessThanOrEqualTo(String value) {
            addCriterion("opportunity_dynamic_id <=", value, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdLike(String value) {
            addCriterion("opportunity_dynamic_id like", value, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdNotLike(String value) {
            addCriterion("opportunity_dynamic_id not like", value, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdIn(List<String> values) {
            addCriterion("opportunity_dynamic_id in", values, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdNotIn(List<String> values) {
            addCriterion("opportunity_dynamic_id not in", values, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdBetween(String value1, String value2) {
            addCriterion("opportunity_dynamic_id between", value1, value2, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andOpportunityDynamicIdNotBetween(String value1, String value2) {
            addCriterion("opportunity_dynamic_id not between", value1, value2, "opportunityDynamicId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNull() {
            addCriterion("account_id is null");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNotNull() {
            addCriterion("account_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccountIdEqualTo(String value) {
            addCriterion("account_id =", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotEqualTo(String value) {
            addCriterion("account_id <>", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThan(String value) {
            addCriterion("account_id >", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThanOrEqualTo(String value) {
            addCriterion("account_id >=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThan(String value) {
            addCriterion("account_id <", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThanOrEqualTo(String value) {
            addCriterion("account_id <=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLike(String value) {
            addCriterion("account_id like", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotLike(String value) {
            addCriterion("account_id not like", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIn(List<String> values) {
            addCriterion("account_id in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotIn(List<String> values) {
            addCriterion("account_id not in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdBetween(String value1, String value2) {
            addCriterion("account_id between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotBetween(String value1, String value2) {
            addCriterion("account_id not between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andFollowTmIsNull() {
            addCriterion("follow_tm is null");
            return (Criteria) this;
        }

        public Criteria andFollowTmIsNotNull() {
            addCriterion("follow_tm is not null");
            return (Criteria) this;
        }

        public Criteria andFollowTmEqualTo(Date value) {
            addCriterion("follow_tm =", value, "followTm");
            return (Criteria) this;
        }

        public Criteria andFollowTmNotEqualTo(Date value) {
            addCriterion("follow_tm <>", value, "followTm");
            return (Criteria) this;
        }

        public Criteria andFollowTmGreaterThan(Date value) {
            addCriterion("follow_tm >", value, "followTm");
            return (Criteria) this;
        }

        public Criteria andFollowTmGreaterThanOrEqualTo(Date value) {
            addCriterion("follow_tm >=", value, "followTm");
            return (Criteria) this;
        }

        public Criteria andFollowTmLessThan(Date value) {
            addCriterion("follow_tm <", value, "followTm");
            return (Criteria) this;
        }

        public Criteria andFollowTmLessThanOrEqualTo(Date value) {
            addCriterion("follow_tm <=", value, "followTm");
            return (Criteria) this;
        }

        public Criteria andFollowTmIn(List<Date> values) {
            addCriterion("follow_tm in", values, "followTm");
            return (Criteria) this;
        }

        public Criteria andFollowTmNotIn(List<Date> values) {
            addCriterion("follow_tm not in", values, "followTm");
            return (Criteria) this;
        }

        public Criteria andFollowTmBetween(Date value1, Date value2) {
            addCriterion("follow_tm between", value1, value2, "followTm");
            return (Criteria) this;
        }

        public Criteria andFollowTmNotBetween(Date value1, Date value2) {
            addCriterion("follow_tm not between", value1, value2, "followTm");
            return (Criteria) this;
        }

        public Criteria andFollowWayIsNull() {
            addCriterion("follow_way is null");
            return (Criteria) this;
        }

        public Criteria andFollowWayIsNotNull() {
            addCriterion("follow_way is not null");
            return (Criteria) this;
        }

        public Criteria andFollowWayEqualTo(Integer value) {
            addCriterion("follow_way =", value, "followWay");
            return (Criteria) this;
        }

        public Criteria andFollowWayNotEqualTo(Integer value) {
            addCriterion("follow_way <>", value, "followWay");
            return (Criteria) this;
        }

        public Criteria andFollowWayGreaterThan(Integer value) {
            addCriterion("follow_way >", value, "followWay");
            return (Criteria) this;
        }

        public Criteria andFollowWayGreaterThanOrEqualTo(Integer value) {
            addCriterion("follow_way >=", value, "followWay");
            return (Criteria) this;
        }

        public Criteria andFollowWayLessThan(Integer value) {
            addCriterion("follow_way <", value, "followWay");
            return (Criteria) this;
        }

        public Criteria andFollowWayLessThanOrEqualTo(Integer value) {
            addCriterion("follow_way <=", value, "followWay");
            return (Criteria) this;
        }

        public Criteria andFollowWayIn(List<Integer> values) {
            addCriterion("follow_way in", values, "followWay");
            return (Criteria) this;
        }

        public Criteria andFollowWayNotIn(List<Integer> values) {
            addCriterion("follow_way not in", values, "followWay");
            return (Criteria) this;
        }

        public Criteria andFollowWayBetween(Integer value1, Integer value2) {
            addCriterion("follow_way between", value1, value2, "followWay");
            return (Criteria) this;
        }

        public Criteria andFollowWayNotBetween(Integer value1, Integer value2) {
            addCriterion("follow_way not between", value1, value2, "followWay");
            return (Criteria) this;
        }

        public Criteria andFollowDetailIsNull() {
            addCriterion("follow_detail is null");
            return (Criteria) this;
        }

        public Criteria andFollowDetailIsNotNull() {
            addCriterion("follow_detail is not null");
            return (Criteria) this;
        }

        public Criteria andFollowDetailEqualTo(String value) {
            addCriterion("follow_detail =", value, "followDetail");
            return (Criteria) this;
        }

        public Criteria andFollowDetailNotEqualTo(String value) {
            addCriterion("follow_detail <>", value, "followDetail");
            return (Criteria) this;
        }

        public Criteria andFollowDetailGreaterThan(String value) {
            addCriterion("follow_detail >", value, "followDetail");
            return (Criteria) this;
        }

        public Criteria andFollowDetailGreaterThanOrEqualTo(String value) {
            addCriterion("follow_detail >=", value, "followDetail");
            return (Criteria) this;
        }

        public Criteria andFollowDetailLessThan(String value) {
            addCriterion("follow_detail <", value, "followDetail");
            return (Criteria) this;
        }

        public Criteria andFollowDetailLessThanOrEqualTo(String value) {
            addCriterion("follow_detail <=", value, "followDetail");
            return (Criteria) this;
        }

        public Criteria andFollowDetailLike(String value) {
            addCriterion("follow_detail like", value, "followDetail");
            return (Criteria) this;
        }

        public Criteria andFollowDetailNotLike(String value) {
            addCriterion("follow_detail not like", value, "followDetail");
            return (Criteria) this;
        }

        public Criteria andFollowDetailIn(List<String> values) {
            addCriterion("follow_detail in", values, "followDetail");
            return (Criteria) this;
        }

        public Criteria andFollowDetailNotIn(List<String> values) {
            addCriterion("follow_detail not in", values, "followDetail");
            return (Criteria) this;
        }

        public Criteria andFollowDetailBetween(String value1, String value2) {
            addCriterion("follow_detail between", value1, value2, "followDetail");
            return (Criteria) this;
        }

        public Criteria andFollowDetailNotBetween(String value1, String value2) {
            addCriterion("follow_detail not between", value1, value2, "followDetail");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusIsNull() {
            addCriterion("opportunity_status is null");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusIsNotNull() {
            addCriterion("opportunity_status is not null");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusEqualTo(String value) {
            addCriterion("opportunity_status =", value, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusNotEqualTo(String value) {
            addCriterion("opportunity_status <>", value, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusGreaterThan(String value) {
            addCriterion("opportunity_status >", value, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusGreaterThanOrEqualTo(String value) {
            addCriterion("opportunity_status >=", value, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusLessThan(String value) {
            addCriterion("opportunity_status <", value, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusLessThanOrEqualTo(String value) {
            addCriterion("opportunity_status <=", value, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusLike(String value) {
            addCriterion("opportunity_status like", value, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusNotLike(String value) {
            addCriterion("opportunity_status not like", value, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusIn(List<String> values) {
            addCriterion("opportunity_status in", values, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusNotIn(List<String> values) {
            addCriterion("opportunity_status not in", values, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusBetween(String value1, String value2) {
            addCriterion("opportunity_status between", value1, value2, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOpportunityStatusNotBetween(String value1, String value2) {
            addCriterion("opportunity_status not between", value1, value2, "opportunityStatus");
            return (Criteria) this;
        }

        public Criteria andOperationModeIsNull() {
            addCriterion("operation_mode is null");
            return (Criteria) this;
        }

        public Criteria andOperationModeIsNotNull() {
            addCriterion("operation_mode is not null");
            return (Criteria) this;
        }

        public Criteria andOperationModeEqualTo(Integer value) {
            addCriterion("operation_mode =", value, "operationMode");
            return (Criteria) this;
        }

        public Criteria andOperationModeNotEqualTo(Integer value) {
            addCriterion("operation_mode <>", value, "operationMode");
            return (Criteria) this;
        }

        public Criteria andOperationModeGreaterThan(Integer value) {
            addCriterion("operation_mode >", value, "operationMode");
            return (Criteria) this;
        }

        public Criteria andOperationModeGreaterThanOrEqualTo(Integer value) {
            addCriterion("operation_mode >=", value, "operationMode");
            return (Criteria) this;
        }

        public Criteria andOperationModeLessThan(Integer value) {
            addCriterion("operation_mode <", value, "operationMode");
            return (Criteria) this;
        }

        public Criteria andOperationModeLessThanOrEqualTo(Integer value) {
            addCriterion("operation_mode <=", value, "operationMode");
            return (Criteria) this;
        }

        public Criteria andOperationModeIn(List<Integer> values) {
            addCriterion("operation_mode in", values, "operationMode");
            return (Criteria) this;
        }

        public Criteria andOperationModeNotIn(List<Integer> values) {
            addCriterion("operation_mode not in", values, "operationMode");
            return (Criteria) this;
        }

        public Criteria andOperationModeBetween(Integer value1, Integer value2) {
            addCriterion("operation_mode between", value1, value2, "operationMode");
            return (Criteria) this;
        }

        public Criteria andOperationModeNotBetween(Integer value1, Integer value2) {
            addCriterion("operation_mode not between", value1, value2, "operationMode");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Short value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Short value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Short value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Short value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Short value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Short> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Short> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Short value1, Short value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Short value1, Short value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdIsNull() {
            addCriterion("opportunity_id is null");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdIsNotNull() {
            addCriterion("opportunity_id is not null");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdEqualTo(String value) {
            addCriterion("opportunity_id =", value, "opportunityId");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdNotEqualTo(String value) {
            addCriterion("opportunity_id <>", value, "opportunityId");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdGreaterThan(String value) {
            addCriterion("opportunity_id >", value, "opportunityId");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdGreaterThanOrEqualTo(String value) {
            addCriterion("opportunity_id >=", value, "opportunityId");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdLessThan(String value) {
            addCriterion("opportunity_id <", value, "opportunityId");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdLessThanOrEqualTo(String value) {
            addCriterion("opportunity_id <=", value, "opportunityId");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdLike(String value) {
            addCriterion("opportunity_id like", value, "opportunityId");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdNotLike(String value) {
            addCriterion("opportunity_id not like", value, "opportunityId");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdIn(List<String> values) {
            addCriterion("opportunity_id in", values, "opportunityId");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdNotIn(List<String> values) {
            addCriterion("opportunity_id not in", values, "opportunityId");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdBetween(String value1, String value2) {
            addCriterion("opportunity_id between", value1, value2, "opportunityId");
            return (Criteria) this;
        }

        public Criteria andOpportunityIdNotBetween(String value1, String value2) {
            addCriterion("opportunity_id not between", value1, value2, "opportunityId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}